<template>
    <aplid-base-crud
      ref="crud"
      class="w-100"
      v-bind="baseConfig"></aplid-base-crud>
  </template>
  
  <script setup lang="ts">
  const baseConfig = {
    pageName: '运营记录',
    dictcodes: ['ORG_TYPE', 'ORG_LEVEL'],
    rowKey: 'roleId',
    api: {
      index: 'sysServiceOrganization_page'
    },
    auth: {
      index: 'sysServiceOrganization_page'
    },
    tableConfig: {
      stripe: true,
      border: false,
      tableLayout: 'auto',
      columns: [
        { label: '运营单位', prop: 'roleName' },
        { label: '合同起始日期', prop: 'organizationName' },
        { label: '联系人', prop: 'creditCode' },
        { label: '运营内容', prop: 'burdenUserName' },
        {
          label: '操作',
          prop: 'menu',
          width: 200,
          fixed: 'right'
        }
      ]
    }
  }
  </script>
  
  <style scoped></style>
  